<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml"
	  xmlns:h="http://java.sun.com/jsf/html"
	  xmlns:f="http://java.sun.com/jsf/core"
	  xmlns:c="http://java.sun.com/jsp/jstl/core"
	  xmlns:p="http://primefaces.org/ui"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:spring="http://www.springframework.org/tags">
      
<f:view contentType="text/html">
	<div id="header">
			
			<div id="header-content">
				
				<div class="side-padder">
					<h1><a href="#" title="Inicio">#{messages['general.titulo.aplicacion']}</a></h1>
					<h2>#{messages['general.subtitulo.aplicacion']}</h2>
				</div><!-- // .side-padder -->
				
				<div id="header-right-box">
					<ui:remove>
						<div class="search-box">
							<div>
								<input type="text" name="search" value="Buscar..." class="custom-search-default-value" />
							</div>
							<div>
								<button></button>
							</div>
						</div><!-- // #header-search-box -->
					</ui:remove>
					
					<div id="greeting">
						<c:if test="${not empty currentUser.name}">
							${user.firstName} ${user.lastName} 
							<ui:remove>
								| <a href="${request.contextPath}/app/logout"><img alt="" title="Logout" src="${request.contextPath}/resources/css/images/logout.png" height="18px"/></a>
							</ui:remove>
						</c:if>
					</div>
				</div><!-- // #header-right-box -->
				
			</div><!-- // #header-content -->

			<div id="header-side">
				<a href="http://www.castillalamancha.es"><img src="http://estaticos.castillalamancha.es/img/logos/logo.png" alt="Inicio" title="Inicio" /></a>
			</div><!-- // #header-side -->
			
			<div id="header-info-band">
				<div class="side-padder">
					<span>#{messages['general.titulo.conserjeria']}</span>
				</div>
				<div class="button-box">
					<ui:remove>
					<a>
						<img src="http://estaticos.castillalamancha.es/img/icons-buttons/icon16-font-decrease-fff.png" alt="Reducir tamaño de fuente" title="Reducir tamaño de fuente" />
					</a>
					<a>
						<img src="http://estaticos.castillalamancha.es/img/icons-buttons/icon16-font-increase-fff.png" alt="Aumentar tamaño de fuente" title="Aumentar tamaño de fuente" />
					</a>
					</ui:remove>
					<a href="javascript:print();">
						<img src="http://estaticos.castillalamancha.es/img/icons-buttons/icon16-print-fff.png" alt="Imprimir" title="Imprimir" />
					</a>
					<a href="http://wikisic.castillalamancha.es" target="_blank">
						<img src="http://estaticos.castillalamancha.es/img/icons-buttons/icon16-help-fff.png" alt="Ayuda (WikiSic)" title="Ayuda (WikiSic)" />
					</a>
					<c:if test="${not empty currentUser.name}">
						<a href="${request.contextPath}/app/logout">
						<img src="http://estaticos.castillalamancha.es/img/icons-buttons/icon16-logout-fff.png" alt="#{messages['general.salir']}" title="#{messages['general.cerrar_sesion']}" />
						</a>
					</c:if>
					
					
				</div>
			</div><!-- // #header-info-band -->
			
			<div id="header-menu">
				<div class="side-padder">
					<ul id="main-menu">
						<li><a>Enlace men&uacute; 1</a></li>
						<li><a>Enlace men&uacute; 2</a></li>
						<li><a>Enlace men&uacute; 3</a></li>
					</ul>
				</div>
			</div><!-- // #header-menu -->
			
		</div><!-- // #header -->
</f:view>
</html>